﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FrmMigracionDeNotas.aspx.cs" Inherits="UI.DireccionAcademica.FrmMigracionDeNotas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">



        .style28
        {
            height: 26px;
        }
        .style21
        {
            width: 66px;
            height: 26px;
        }
        .style23
        {
            height: 26px;
        }
        .style30
        {
            height: 3px;
        }
        .style33
        {
            height: 3px;
            width: 268435328px;
        }
        .style34
        {
            height: 3px;
            width: 268435280px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<asp:UpdatePanel ID="panelActualizar" runat="server">
    <Triggers>
        <asp:PostBackTrigger ControlID="GridNotas"/>
    </Triggers>
    <ContentTemplate>
    <asp:Panel ID="Panel1" runat="server" Width="940px">




                <table class="BTabla" style="width: 99%">
                    <tr>
                        <td class="style21">
                            SEMESTRE:
                        </td>
                        <td class="style21">
                            <asp:DropDownList ID="comboSemestre" runat="server" AutoPostBack="True" 
                                onselectedindexchanged="comboSemestre_SelectedIndexChanged" 
                                style="margin-left: 0px" Width="74px">
                            </asp:DropDownList>
                        </td>
                        <td class="style21">
                            &nbsp;</td>
                        <td class="style21">
                            ESPECIALIDAD:
                        </td>
                        <td class="style23" colspan="4">
                            <asp:DropDownList ID="comboEspecialidad" runat="server" AutoPostBack="True" 
                                Height="26px" onselectedindexchanged="comboEspecialidad_SelectedIndexChanged" 
                                style="margin-left: 0px" Width="372px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style21">
                            CICLOS:</td>
                        <td class="style21">
                            <asp:DropDownList ID="comboCiclo" runat="server" AutoPostBack="True" 
                                Enabled="False" Height="16px" 
                                onselectedindexchanged="comboEscuela_SelectedIndexChanged" 
                                style="margin-left: 0px" Width="105px">
                            </asp:DropDownList>
                        </td>
                        <td class="style21">
                            &nbsp;</td>
                        <td class="style21">
                            CURSOS:</td>
                        <td class="style23" colspan="4">
                            <asp:DropDownList ID="comboCurso" runat="server" 
                                Height="19px" style="margin-left: 0px" Width="332px" Enabled="False">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            ALUMNOS:</td>
                        <td class="style28" colspan="4">
                            <asp:DropDownList ID="comboAlumno" runat="server" 
                                Height="19px" style="margin-left: 0px" Width="332px" Enabled="False">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28">
                            &nbsp;</td>
                        <td class="style28" colspan="4">
                            <asp:Button ID="btnBuscar" runat="server" Height="34px" 
                                OnClick="btnBuscar_Click1" Text="Buscar" Width="87px" />
                        </td>
                    </tr>
                    <tr>
                        <td class="style30">
                            &nbsp;</td>
                        <td class="style30" colspan="4">
                        </td>
                        <td class="style34">
                            <asp:Button ID="btnMigrar" runat="server" Height="34px" 
                                OnClick="btnMigrar_Click" Text="MIGRAR!!" Width="87px" />
                        </td>
                        <td class="style30">
                            <asp:Label ID="LabelExitoMigracion" runat="server" Font-Bold="True" 
                                Font-Size="X-Large" ForeColor="#33CC33"></asp:Label>
                        </td>
                        <td class="style33">
                        </td>
                    </tr>
                      </table>

                            <asp:Label ID="LabelError" runat="server" ForeColor="Red"></asp:Label>
                            <asp:GridView ID="GridNotas" runat="server" AutoGenerateColumns="False" 
                                Width="814px">
                                <Columns>
                                    <asp:BoundField DataField="semestre" HeaderText="Semestre" />
                                    <asp:BoundField DataField="especialidad" HeaderText="Especialidad" />
                                    <asp:BoundField DataField="ciclo" HeaderText="Ciclo" />
                                    <asp:BoundField DataField="IDAlumno" HeaderText="Codigo" />
                                    <asp:BoundField DataField="NombreAlumno" HeaderText="NombreAlumno" />
                                    <asp:BoundField DataField="curso" HeaderText="Nombre de Curso" />
                                    <asp:BoundField DataField="Nota" HeaderText="Nota" />
                                    <asp:BoundField DataField="Credito" HeaderText="Credito" />
                                    <asp:BoundField DataField="Migrado" HeaderText="Migrado" />
                                    <asp:BoundField DataField="NotaAnterior" HeaderText="Nota Anterior" />
                                    <asp:BoundField DataField="DifNota" HeaderText="Dif Nota" />
                                </Columns>
                            </asp:GridView>
                 



        </asp:Panel>
    </ContentTemplate>
</asp:UpdatePanel>

    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="panelActualizar" DisplayAfter="0">
    <ProgressTemplate>
        <div style="background-color: Gray; filter:alpha(opacity=60); opacity:0.60; width: 100%; top: 0px; left: 0px; position: fixed; height: 100%;">
        </div>
          <div style="margin:auto;
              font-family:Trebuchet MS;
              filter: alpha(opacity=100);
              opacity: 1;
              font-size:small;
              vertical-align: middle;
              top: 45%;
              position: fixed;
              right: 45%;
              color: #275721;
              text-align: center;
              background-color: White;
              height: 100px; bottom: 296px;">
                <table style=" background-color: White; font-family: Sans-Serif; text-align: center; border: solid 1px #275721; color: #275721; width: inherit; height: inherit; padding: 15px;">
                <tr>
                <td style=" text-align: inherit;"><img src="../Imagenes/Gif/cargando.gif" alt="Loading"  /></td>
                <td style=" text-align: inherit;"><span style="font-family: Sans-Serif; font-size: medium; font-weight: bold; font">Cargando...</span></td>
                </tr>
                </table>
        </div>
    </ProgressTemplate>
    </asp:UpdateProgress>

</asp:Content>
